import request from '@/utils/request'

export function getCommentList(data){
    return request({
        url:'/commentlist',
        method:'get',
        params:data
    });
}

export function editComment(data){
    return request({
       url:'/editcomment',
       method:'post',
       data:qs.stringify(data)
    });
}

export function getCommentInfo(data){
    return request({
       url:'/commentinfo',
       method:'get',
       params:data
    });
}

export function delComment(data){
   return request({
      url:'/delcomment',
      method:'get',
      params:data
   });
}

export function getAllCommentList(data){
   return request({
      url:'/allcommentlist',
      method:'get',
      params:data
   });
}
